package com.ruoyi.lab.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 座位操作日志对象 lab_seat_operate
 * 
 * @author dn
 * @date 2024-01-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LabSeatOperate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作id */
    private Long operateId;

    /** 操作人学号 */
    @Excel(name = "操作人学号")
    private String workno;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String nickName;

    /** 座位id */
    private Long seatId;

    /** 座位 */
    @Excel(name = "座位")
    private String seatName;

    /** 所属实验室 */
    @Excel(name = "所属实验室")
    private String labName;

    /** 操作状态 */
    @Excel(name = "操作状态(0预约，1取消)")
    private String operateStatus;

    /** 开始预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    @Excel(name = "开始预约时间", width = 30, dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    private Date startAppointTime;

    /** 结束预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    @Excel(name = "结束预约时间", width = 30, dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    private Date endAppointTime;
}
